import Vue from 'vue'
import axios from 'axios'
import VueAxios from 'vue-axios'
import vuex from 'vue'
import App from './App'
import router from './router'
import FastClick from 'fastclick' //使用 fastclick 解决移动端 300ms 点击延迟
//import store from './store'
import http from './utils/http'


//技巧 同时 use 多个插件 被依赖的插件应放在偏后方
Vue.use(VueAxios, axios, vuex,http)

Vue.config.productionTip = false

FastClick.attach(document.body)
/* eslint-disable no-new */

new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
